﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UIWindow.Enums;

namespace UIWindow.Models
{
    public class ProductionDataModel : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;
        /// <summary>
        /// 工序
        /// </summary>
        public int Stage { get; set; }
        /// <summary>
        /// 前称重时间
        /// </summary>
        public DateTime FrontWeighTime { get; set; }
        /// <summary>
        /// 后称重时间
        /// </summary>
        public DateTime BackWeighTime { get; set; }
        /// <summary>
        /// 前扫码时间
        /// </summary>
        public DateTime FrontScanTime { get; set; }
        /// <summary>
        /// 前称重
        /// </summary>
        public double Preweight { get; set; }
        /// <summary>
        /// 后称重
        /// </summary>
        public double Afterweight { get; set; }
        /// <summary>
        /// 补液重量
        /// </summary>
        public double RehydrationWeighing { get; set; }
        /// <summary>
        /// 目标注液量
        /// </summary>
        public double FluidRateAims { get; set; }
        /// <summary>
        /// 实际注液量
        /// </summary>
        public double FluidRate { get; set; }
        /// <summary>
        /// 偏差值
        /// </summary>
        public double DeviationValue { get; set; }
        /// <summary>
        /// 保有量
        /// </summary>
        public double Ownership { get; set; }

        /// <summary>
        /// 泵号
        /// </summary>
        public int PumpNumber { get; set; }
        /// <summary>
        /// 前称判定结果
        /// </summary>
        public NGType JudgementResultForeweigh { get; set; }
        /// <summary>
        /// 后称判定结果
        /// </summary>
        public NGType JudgementResultAfterWeighing { get; set; }
        /// <summary>
        /// 前称重范围
        /// </summary>
        public string ForeweighRange { get; set; }
        /// <summary>
        /// 后称重范围
        /// </summary>
        public string AfterWeighingRange { get; set; }
        /// <summary>
        /// 注液量范围
        /// </summary>
        public string FluidRateRange { get; set; }
        /// <summary>
        /// 电池条码
        /// </summary>
        public string BarCode { get; set; }
        /// <summary>
        /// 产品批次
        /// </summary>
        public string ProductBatch { get; set; }
        /// <summary>
        /// 电解液批次
        /// </summary>
        public string BatchElectrolyte { get; set; }
        /// <summary>
        /// 回氦后真空度
        /// </summary>
        public double VacuumDegreeAfterReturningHelium { get; set; }
        /// <summary>
        /// 注液前真空
        /// </summary>
        public double VacuumBeforeFilling { get; set; }
        /// <summary>
        /// 回氦前真空
        /// </summary>
        public double VacuumBeforeReturningHelium { get; set; }
        /// <summary>
        /// 注液站号
        /// </summary>
        public string StationNo { get; set; }
        /// <summary>
        /// 注液负压
        /// </summary>
        public double NegativePressure { get; set; }
        /// <summary>
        /// 注液正压
        /// </summary>
        public double PositivePressure { get; set; }
        /// <summary>
        /// 注液杯
        /// </summary>
        public int CupNumber { get; set; }
        /// <summary>
        /// 循环次数
        /// </summary>
        public int Cycles { get; set; }
    }
}
